﻿using Mrc.Domain.Entitity;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mrc.Domain.Dto
{
    public class AddCateGoryDto:AddBaseEntity
    {

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 上级Id
        /// </summary>
        public long PID{ get; set; }

        /// <summary>
        /// 分类图标
        /// </summary>
        public string IconUrl { get; set; }

        public AddCateGoryDto()
        { 
           
        }
        public void SetUser(LoginInfoDto loginInfoDto)
        {

            base.CreateUserID = loginInfoDto.Id;
        }
    }
}
